CFLAGS =  -pthread -g -lm            
objects = main.o random.o cJSON.o generator.o scheduler.o cpu.o
generator : $(objects)
	gcc $(CFLAGS) -o generator $(objects)

$(objects) : generator.h

.PHONY : clean
clean :
	-rm generator $(objects)